package com.changpay.zywy.mvp.presenter

import com.changpay.zywy.base.BasePresenter
import com.changpay.zywy.ext.ss
import com.changpay.zywy.mvp.contract.InfoContract
import com.changpay.zywy.mvp.model.InfoModel


/**
 * Created by chenxz on 2018/5/27.
 */
class InfoPresenter : BasePresenter<InfoContract.Model, InfoContract.View>(), InfoContract.Presenter {
    override fun getZhiXunInfo() {
        mModel?.getZhiXunInfo()?.ss(mModel, mView) {
            mView?.showZhiXunBg(it.result)
        }
    }

    override fun createModel(): InfoContract.Model? = InfoModel()

}